package com.bangbang.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2021-08-12
 */
@Data
@Accessors(chain = true)
public class TbMember implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "member_id", type = IdType.AUTO)
    private Long memberId;

    /**
     * 流水号
     */
    private String memberWaterId;

    /**
     * 金额
     */
    private BigDecimal memberMoney;

    /**
     * 用户id
     */
    private Long memberUserId;

    /**
     * 订单号
     */
    private String memberOrderId;

    /**
     * 创建时间
     */
    @TableField("member_createTime")
    private Date memberCreatetime;

    /**
     * 剩余时间
     */
    @TableField("member_residueTime")
    private String memberResiduetime;

    @TableField("member_overTime")
    private Date memberOvertime;

    /**
     * 逻辑删除
     */
    @TableLogic       // 逻辑删除注解
    private Integer memberDeleted;


}
